package com.vogue.supplymall.admin.business.domain.service.impl;

import com.vogue.ssm.database.dao.BaseDao;
import com.vogue.supplymall.admin.business.domain.dao.AdminPlatformDao;
import com.vogue.supplymall.admin.business.domain.model.AdminPlatform;
import com.vogue.supplymall.admin.business.domain.service.AdminPlatformService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * The type Admin platform service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-26
 */
@Service("adminPlatformService")
public class AdminPlatformServiceImpl extends BaseServiceImpl<AdminPlatform, Long> implements AdminPlatformService {
    @Resource
    private AdminPlatformDao adminPlatformDao;

    /**
     * Instantiates a new Admin platform service.
     *
     * @param baseDao the base dao
     */
    public AdminPlatformServiceImpl(BaseDao<AdminPlatform, Long> baseDao) {
        super(baseDao);
    }

	@Override
	public AdminPlatform getAPInfoBySyscodeId(Long syscodeId) {
		AdminPlatform ap=adminPlatformDao.getAPInfoBySyscodeId(syscodeId);
		return ap;
	}
    
    
}
